<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="../../../../node_modules/lodash"></script>
    
</head>
<body>
    <script>
        // lodash函数库中的柯里化函数的运用
        // const _ = require('lodash');
        function getSum (a,b,c) {
            return a + b + c;
        }
        const curried = _.curry(getSum)
        console.log(curried(1,2,3));
        

    </script>
</body>
</html>